package com.edu.hre.struts.form.pim;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;
import org.apache.struts.util.LabelValueBean;

import com.edu.hre.common.entity.HrePageInfo;
import com.edu.hre.db.pojo.HreEmploymentStatus;
import com.edu.hre.db.pojo.HreJobTitle;
import com.edu.hre.db.pojo.HreSubunit;

public class EmployeeListForm extends ActionForm {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8696698650789509605L;
	
	private String id = "";
	private String employeeName = "";
	private String supervisorName = "";
	private List<LabelValueBean> listJobTitle = new ArrayList<LabelValueBean>();
	private List<LabelValueBean> listEmploymentStatus = new ArrayList<LabelValueBean>();

	private List<LabelValueBean> listSubunit = new ArrayList<LabelValueBean>();
	private List<EmployeeForm> listEmployeeInfo = new ArrayList<EmployeeForm>();
	private List<HrePageInfo> listPages = new ArrayList<HrePageInfo>();
	private List<LabelValueBean> listInclude = new ArrayList<LabelValueBean>();

	private Integer valueListJobTitle = null;
	private Integer valueListEmploymentStatus = null;
	private String valueListInclude = null;
	private Integer valueListSubunit = null; 
	
	private String sortBy = null;
	private boolean isAsc = false;
	
	private int totalItems = 0;
	private int totalPage = 0;
	
	private boolean canDelete = false;
	private boolean canAdd = false;
	
	public String getSortBy() {
		return sortBy;
	}

	public void setSortBy(String sortBy) {
		this.sortBy = sortBy;
	}

	public boolean isAsc() {
		return isAsc;
	}

	public void setAsc(boolean isAsc) {
		this.isAsc = isAsc;
	}

	public EmployeeListForm() {
	
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getSupervisorName() {
		return supervisorName;
	}

	public void setSupervisorName(String supervisorName) {
		this.supervisorName = supervisorName;
	}

	public List<LabelValueBean> getListJobTitle() {
		return listJobTitle;
	}

	public void setListJobTitle(List<LabelValueBean> listJobTitle) {
		this.listJobTitle = listJobTitle;
	}

	public List<LabelValueBean> getListEmploymentStatus() {
		return listEmploymentStatus;
	}

	public void setListEmploymentStatus(List<LabelValueBean> listEmploymentStatus) {
		this.listEmploymentStatus = listEmploymentStatus;
	}

	public List<LabelValueBean> getListSubunit() {
		return listSubunit;
	}

	public void setListSubunit(List<LabelValueBean> listSubunit) {
		this.listSubunit = listSubunit;
	}

	public List<EmployeeForm> getListEmployeeInfo() {
		return listEmployeeInfo;
	}

	public void setListEmployeeInfo(List<EmployeeForm> listEmployeeInfo) {
		this.listEmployeeInfo = listEmployeeInfo;
	}

	public Integer getValueListJobTitle() {
		return valueListJobTitle;
	}

	public void setValueListJobTitle(Integer valueListJobTitle) {
		this.valueListJobTitle = valueListJobTitle;
	}

	public Integer getValueListEmploymentStatus() {
		return valueListEmploymentStatus;
	}

	public void setValueListEmploymentStatus(Integer valueListEmploymentStatus) {
		this.valueListEmploymentStatus = valueListEmploymentStatus;
	}

	public String getValueListInclude() {
		return valueListInclude;
	}

	public void setValueListInclude(String valueListInclude) {
		this.valueListInclude = valueListInclude;
	}

	public Integer getValueListSubunit() {
		return valueListSubunit;
	}

	public void setValueListSubunit(Integer valueListSubunit) {
		this.valueListSubunit = valueListSubunit;
	}
	
	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public List<HrePageInfo> getListPages() {
		return listPages;
	}

	public void setListPages(List<HrePageInfo> listPages) {
		this.listPages = listPages;
	}

	public int getTotalItems() {
		return totalItems;
	}

	public void setTotalItems(int totalItems) {
		this.totalItems = totalItems;
	}

	public boolean isCanDelete() {
		return canDelete;
	}

	public void setCanDelete(boolean canDelete) {
		this.canDelete = canDelete;
	}

	public boolean isCanAdd() {
		return canAdd;
	}

	public void setCanAdd(boolean canAdd) {
		this.canAdd = canAdd;
	}

	public List<LabelValueBean> getListInclude() {
		return listInclude;
	}

	public void setListInclude(List<LabelValueBean> listInclude) {
		this.listInclude = listInclude;
	}
}
